package com.example.lock.component.lock;

import org.aopalliance.intercept.MethodInvocation;

/**
 * @Description: 构建key
 * @author: sun
 * @date: 2022.01.17
 */
public interface  LockKeyBuilder {
    /**
     * 构建key
     *
     * @param invocation     invocation
     * @param definitionKeys 定义
     * @return key
     */
    String buildKey(MethodInvocation invocation, String[] definitionKeys);
}
